package com.jiai.base.service.impl;

import com.jiai.live.dto.UserDto;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.jiai.mybatis.BaseDao;
import com.jiai.mybatis.BaseServiceImp;
import com.jiai.base.model.UserSearch;
import com.jiai.base.model.User;
import com.jiai.base.service.UserService;
import com.jiai.base.dao.UserDao;

/** 
 * 说明： 
 * 创建人：小方工作室
 * 创建时间：2017-05-07
 * @version
 */
@Service   
public class UserServiceImpl extends BaseServiceImp<User,UserSearch, String>  implements UserService{
	
	@Autowired
	private UserDao userDao;
	
	@SuppressWarnings("rawtypes")
	@Override
	public BaseDao getMapper() {
		// TODO Auto-generated method stub
		return userDao;
	}


	@Override
	public UserDto getLiveUserInfo(String userId) {
		return userDao.getLiveUserInfo(userId);
	}
}

